package com.rc.saas.tenant.model.ticket;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TenantTicketTypeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TenantTicketTypeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTicketTypeIdIsNull() {
            addCriterion("ticket_type_id is null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIsNotNull() {
            addCriterion("ticket_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdEqualTo(Long value) {
            addCriterion("ticket_type_id =", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotEqualTo(Long value) {
            addCriterion("ticket_type_id <>", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdGreaterThan(Long value) {
            addCriterion("ticket_type_id >", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ticket_type_id >=", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdLessThan(Long value) {
            addCriterion("ticket_type_id <", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdLessThanOrEqualTo(Long value) {
            addCriterion("ticket_type_id <=", value, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdIn(List<Long> values) {
            addCriterion("ticket_type_id in", values, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotIn(List<Long> values) {
            addCriterion("ticket_type_id not in", values, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdBetween(Long value1, Long value2) {
            addCriterion("ticket_type_id between", value1, value2, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIdNotBetween(Long value1, Long value2) {
            addCriterion("ticket_type_id not between", value1, value2, "ticketTypeId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeIsNull() {
            addCriterion("ticket_suit_type is null");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeIsNotNull() {
            addCriterion("ticket_suit_type is not null");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeEqualTo(String value) {
            addCriterion("ticket_suit_type =", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeNotEqualTo(String value) {
            addCriterion("ticket_suit_type <>", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeGreaterThan(String value) {
            addCriterion("ticket_suit_type >", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_suit_type >=", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeLessThan(String value) {
            addCriterion("ticket_suit_type <", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeLessThanOrEqualTo(String value) {
            addCriterion("ticket_suit_type <=", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeLike(String value) {
            addCriterion("ticket_suit_type like", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeNotLike(String value) {
            addCriterion("ticket_suit_type not like", value, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeIn(List<String> values) {
            addCriterion("ticket_suit_type in", values, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeNotIn(List<String> values) {
            addCriterion("ticket_suit_type not in", values, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeBetween(String value1, String value2) {
            addCriterion("ticket_suit_type between", value1, value2, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSuitTypeNotBetween(String value1, String value2) {
            addCriterion("ticket_suit_type not between", value1, value2, "ticketSuitType");
            return (Criteria) this;
        }

        public Criteria andTicketSourceIsNull() {
            addCriterion("ticket_source is null");
            return (Criteria) this;
        }

        public Criteria andTicketSourceIsNotNull() {
            addCriterion("ticket_source is not null");
            return (Criteria) this;
        }

        public Criteria andTicketSourceEqualTo(String value) {
            addCriterion("ticket_source =", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceNotEqualTo(String value) {
            addCriterion("ticket_source <>", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceGreaterThan(String value) {
            addCriterion("ticket_source >", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_source >=", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceLessThan(String value) {
            addCriterion("ticket_source <", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceLessThanOrEqualTo(String value) {
            addCriterion("ticket_source <=", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceLike(String value) {
            addCriterion("ticket_source like", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceNotLike(String value) {
            addCriterion("ticket_source not like", value, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceIn(List<String> values) {
            addCriterion("ticket_source in", values, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceNotIn(List<String> values) {
            addCriterion("ticket_source not in", values, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceBetween(String value1, String value2) {
            addCriterion("ticket_source between", value1, value2, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketSourceNotBetween(String value1, String value2) {
            addCriterion("ticket_source not between", value1, value2, "ticketSource");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIsNull() {
            addCriterion("ticket_type is null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIsNotNull() {
            addCriterion("ticket_type is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeEqualTo(String value) {
            addCriterion("ticket_type =", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotEqualTo(String value) {
            addCriterion("ticket_type <>", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeGreaterThan(String value) {
            addCriterion("ticket_type >", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_type >=", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeLessThan(String value) {
            addCriterion("ticket_type <", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeLessThanOrEqualTo(String value) {
            addCriterion("ticket_type <=", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeLike(String value) {
            addCriterion("ticket_type like", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotLike(String value) {
            addCriterion("ticket_type not like", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIn(List<String> values) {
            addCriterion("ticket_type in", values, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotIn(List<String> values) {
            addCriterion("ticket_type not in", values, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeBetween(String value1, String value2) {
            addCriterion("ticket_type between", value1, value2, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotBetween(String value1, String value2) {
            addCriterion("ticket_type not between", value1, value2, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketNameIsNull() {
            addCriterion("ticket_name is null");
            return (Criteria) this;
        }

        public Criteria andTicketNameIsNotNull() {
            addCriterion("ticket_name is not null");
            return (Criteria) this;
        }

        public Criteria andTicketNameEqualTo(String value) {
            addCriterion("ticket_name =", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameNotEqualTo(String value) {
            addCriterion("ticket_name <>", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameGreaterThan(String value) {
            addCriterion("ticket_name >", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_name >=", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameLessThan(String value) {
            addCriterion("ticket_name <", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameLessThanOrEqualTo(String value) {
            addCriterion("ticket_name <=", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameLike(String value) {
            addCriterion("ticket_name like", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameNotLike(String value) {
            addCriterion("ticket_name not like", value, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameIn(List<String> values) {
            addCriterion("ticket_name in", values, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameNotIn(List<String> values) {
            addCriterion("ticket_name not in", values, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameBetween(String value1, String value2) {
            addCriterion("ticket_name between", value1, value2, "ticketName");
            return (Criteria) this;
        }

        public Criteria andTicketNameNotBetween(String value1, String value2) {
            addCriterion("ticket_name not between", value1, value2, "ticketName");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountIsNull() {
            addCriterion("gain_require_amount is null");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountIsNotNull() {
            addCriterion("gain_require_amount is not null");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountEqualTo(BigDecimal value) {
            addCriterion("gain_require_amount =", value, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountNotEqualTo(BigDecimal value) {
            addCriterion("gain_require_amount <>", value, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountGreaterThan(BigDecimal value) {
            addCriterion("gain_require_amount >", value, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gain_require_amount >=", value, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountLessThan(BigDecimal value) {
            addCriterion("gain_require_amount <", value, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gain_require_amount <=", value, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountIn(List<BigDecimal> values) {
            addCriterion("gain_require_amount in", values, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountNotIn(List<BigDecimal> values) {
            addCriterion("gain_require_amount not in", values, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gain_require_amount between", value1, value2, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andGainRequireAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gain_require_amount not between", value1, value2, "gainRequireAmount");
            return (Criteria) this;
        }

        public Criteria andEffectTypeIsNull() {
            addCriterion("effect_type is null");
            return (Criteria) this;
        }

        public Criteria andEffectTypeIsNotNull() {
            addCriterion("effect_type is not null");
            return (Criteria) this;
        }

        public Criteria andEffectTypeEqualTo(String value) {
            addCriterion("effect_type =", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeNotEqualTo(String value) {
            addCriterion("effect_type <>", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeGreaterThan(String value) {
            addCriterion("effect_type >", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeGreaterThanOrEqualTo(String value) {
            addCriterion("effect_type >=", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeLessThan(String value) {
            addCriterion("effect_type <", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeLessThanOrEqualTo(String value) {
            addCriterion("effect_type <=", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeLike(String value) {
            addCriterion("effect_type like", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeNotLike(String value) {
            addCriterion("effect_type not like", value, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeIn(List<String> values) {
            addCriterion("effect_type in", values, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeNotIn(List<String> values) {
            addCriterion("effect_type not in", values, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeBetween(String value1, String value2) {
            addCriterion("effect_type between", value1, value2, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectTypeNotBetween(String value1, String value2) {
            addCriterion("effect_type not between", value1, value2, "effectType");
            return (Criteria) this;
        }

        public Criteria andEffectDayIsNull() {
            addCriterion("effect_day is null");
            return (Criteria) this;
        }

        public Criteria andEffectDayIsNotNull() {
            addCriterion("effect_day is not null");
            return (Criteria) this;
        }

        public Criteria andEffectDayEqualTo(Integer value) {
            addCriterion("effect_day =", value, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayNotEqualTo(Integer value) {
            addCriterion("effect_day <>", value, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayGreaterThan(Integer value) {
            addCriterion("effect_day >", value, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("effect_day >=", value, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayLessThan(Integer value) {
            addCriterion("effect_day <", value, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayLessThanOrEqualTo(Integer value) {
            addCriterion("effect_day <=", value, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayIn(List<Integer> values) {
            addCriterion("effect_day in", values, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayNotIn(List<Integer> values) {
            addCriterion("effect_day not in", values, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayBetween(Integer value1, Integer value2) {
            addCriterion("effect_day between", value1, value2, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectDayNotBetween(Integer value1, Integer value2) {
            addCriterion("effect_day not between", value1, value2, "effectDay");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateIsNull() {
            addCriterion("effect_start_date is null");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateIsNotNull() {
            addCriterion("effect_start_date is not null");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateEqualTo(Date value) {
            addCriterion("effect_start_date =", value, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateNotEqualTo(Date value) {
            addCriterion("effect_start_date <>", value, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateGreaterThan(Date value) {
            addCriterion("effect_start_date >", value, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateGreaterThanOrEqualTo(Date value) {
            addCriterion("effect_start_date >=", value, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateLessThan(Date value) {
            addCriterion("effect_start_date <", value, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateLessThanOrEqualTo(Date value) {
            addCriterion("effect_start_date <=", value, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateIn(List<Date> values) {
            addCriterion("effect_start_date in", values, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateNotIn(List<Date> values) {
            addCriterion("effect_start_date not in", values, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateBetween(Date value1, Date value2) {
            addCriterion("effect_start_date between", value1, value2, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectStartDateNotBetween(Date value1, Date value2) {
            addCriterion("effect_start_date not between", value1, value2, "effectStartDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateIsNull() {
            addCriterion("effect_end_date is null");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateIsNotNull() {
            addCriterion("effect_end_date is not null");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateEqualTo(Date value) {
            addCriterion("effect_end_date =", value, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateNotEqualTo(Date value) {
            addCriterion("effect_end_date <>", value, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateGreaterThan(Date value) {
            addCriterion("effect_end_date >", value, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("effect_end_date >=", value, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateLessThan(Date value) {
            addCriterion("effect_end_date <", value, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateLessThanOrEqualTo(Date value) {
            addCriterion("effect_end_date <=", value, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateIn(List<Date> values) {
            addCriterion("effect_end_date in", values, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateNotIn(List<Date> values) {
            addCriterion("effect_end_date not in", values, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateBetween(Date value1, Date value2) {
            addCriterion("effect_end_date between", value1, value2, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andEffectEndDateNotBetween(Date value1, Date value2) {
            addCriterion("effect_end_date not between", value1, value2, "effectEndDate");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeIsNull() {
            addCriterion("discount_type is null");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeIsNotNull() {
            addCriterion("discount_type is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeEqualTo(String value) {
            addCriterion("discount_type =", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeNotEqualTo(String value) {
            addCriterion("discount_type <>", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeGreaterThan(String value) {
            addCriterion("discount_type >", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeGreaterThanOrEqualTo(String value) {
            addCriterion("discount_type >=", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeLessThan(String value) {
            addCriterion("discount_type <", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeLessThanOrEqualTo(String value) {
            addCriterion("discount_type <=", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeLike(String value) {
            addCriterion("discount_type like", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeNotLike(String value) {
            addCriterion("discount_type not like", value, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeIn(List<String> values) {
            addCriterion("discount_type in", values, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeNotIn(List<String> values) {
            addCriterion("discount_type not in", values, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeBetween(String value1, String value2) {
            addCriterion("discount_type between", value1, value2, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountTypeNotBetween(String value1, String value2) {
            addCriterion("discount_type not between", value1, value2, "discountType");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNull() {
            addCriterion("discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNotNull() {
            addCriterion("discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("discount_amount =", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_amount <>", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_amount >", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount >=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThan(BigDecimal value) {
            addCriterion("discount_amount <", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount <=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("discount_amount in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_amount not in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount not between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(BigDecimal value) {
            addCriterion("discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(BigDecimal value) {
            addCriterion("discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(BigDecimal value) {
            addCriterion("discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(BigDecimal value) {
            addCriterion("discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<BigDecimal> values) {
            addCriterion("discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<BigDecimal> values) {
            addCriterion("discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountIsNull() {
            addCriterion("use_require_amount is null");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountIsNotNull() {
            addCriterion("use_require_amount is not null");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountEqualTo(BigDecimal value) {
            addCriterion("use_require_amount =", value, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountNotEqualTo(BigDecimal value) {
            addCriterion("use_require_amount <>", value, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountGreaterThan(BigDecimal value) {
            addCriterion("use_require_amount >", value, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("use_require_amount >=", value, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountLessThan(BigDecimal value) {
            addCriterion("use_require_amount <", value, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("use_require_amount <=", value, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountIn(List<BigDecimal> values) {
            addCriterion("use_require_amount in", values, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountNotIn(List<BigDecimal> values) {
            addCriterion("use_require_amount not in", values, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("use_require_amount between", value1, value2, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andUseRequireAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("use_require_amount not between", value1, value2, "useRequireAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountIsNull() {
            addCriterion("reduced_amount is null");
            return (Criteria) this;
        }

        public Criteria andReducedAmountIsNotNull() {
            addCriterion("reduced_amount is not null");
            return (Criteria) this;
        }

        public Criteria andReducedAmountEqualTo(BigDecimal value) {
            addCriterion("reduced_amount =", value, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountNotEqualTo(BigDecimal value) {
            addCriterion("reduced_amount <>", value, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountGreaterThan(BigDecimal value) {
            addCriterion("reduced_amount >", value, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reduced_amount >=", value, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountLessThan(BigDecimal value) {
            addCriterion("reduced_amount <", value, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reduced_amount <=", value, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountIn(List<BigDecimal> values) {
            addCriterion("reduced_amount in", values, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountNotIn(List<BigDecimal> values) {
            addCriterion("reduced_amount not in", values, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reduced_amount between", value1, value2, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andReducedAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reduced_amount not between", value1, value2, "reducedAmount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountIsNull() {
            addCriterion("ticket_unit_count is null");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountIsNotNull() {
            addCriterion("ticket_unit_count is not null");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountEqualTo(Integer value) {
            addCriterion("ticket_unit_count =", value, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountNotEqualTo(Integer value) {
            addCriterion("ticket_unit_count <>", value, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountGreaterThan(Integer value) {
            addCriterion("ticket_unit_count >", value, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("ticket_unit_count >=", value, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountLessThan(Integer value) {
            addCriterion("ticket_unit_count <", value, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountLessThanOrEqualTo(Integer value) {
            addCriterion("ticket_unit_count <=", value, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountIn(List<Integer> values) {
            addCriterion("ticket_unit_count in", values, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountNotIn(List<Integer> values) {
            addCriterion("ticket_unit_count not in", values, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountBetween(Integer value1, Integer value2) {
            addCriterion("ticket_unit_count between", value1, value2, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitCountNotBetween(Integer value1, Integer value2) {
            addCriterion("ticket_unit_count not between", value1, value2, "ticketUnitCount");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceIsNull() {
            addCriterion("ticket_unit_price is null");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceIsNotNull() {
            addCriterion("ticket_unit_price is not null");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceEqualTo(BigDecimal value) {
            addCriterion("ticket_unit_price =", value, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceNotEqualTo(BigDecimal value) {
            addCriterion("ticket_unit_price <>", value, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceGreaterThan(BigDecimal value) {
            addCriterion("ticket_unit_price >", value, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ticket_unit_price >=", value, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceLessThan(BigDecimal value) {
            addCriterion("ticket_unit_price <", value, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ticket_unit_price <=", value, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceIn(List<BigDecimal> values) {
            addCriterion("ticket_unit_price in", values, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceNotIn(List<BigDecimal> values) {
            addCriterion("ticket_unit_price not in", values, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ticket_unit_price between", value1, value2, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTicketUnitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ticket_unit_price not between", value1, value2, "ticketUnitPrice");
            return (Criteria) this;
        }

        public Criteria andTotalTicketIsNull() {
            addCriterion("total_ticket is null");
            return (Criteria) this;
        }

        public Criteria andTotalTicketIsNotNull() {
            addCriterion("total_ticket is not null");
            return (Criteria) this;
        }

        public Criteria andTotalTicketEqualTo(Integer value) {
            addCriterion("total_ticket =", value, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketNotEqualTo(Integer value) {
            addCriterion("total_ticket <>", value, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketGreaterThan(Integer value) {
            addCriterion("total_ticket >", value, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_ticket >=", value, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketLessThan(Integer value) {
            addCriterion("total_ticket <", value, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketLessThanOrEqualTo(Integer value) {
            addCriterion("total_ticket <=", value, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketIn(List<Integer> values) {
            addCriterion("total_ticket in", values, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketNotIn(List<Integer> values) {
            addCriterion("total_ticket not in", values, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketBetween(Integer value1, Integer value2) {
            addCriterion("total_ticket between", value1, value2, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andTotalTicketNotBetween(Integer value1, Integer value2) {
            addCriterion("total_ticket not between", value1, value2, "totalTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketIsNull() {
            addCriterion("remain_ticket is null");
            return (Criteria) this;
        }

        public Criteria andRemainTicketIsNotNull() {
            addCriterion("remain_ticket is not null");
            return (Criteria) this;
        }

        public Criteria andRemainTicketEqualTo(Integer value) {
            addCriterion("remain_ticket =", value, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketNotEqualTo(Integer value) {
            addCriterion("remain_ticket <>", value, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketGreaterThan(Integer value) {
            addCriterion("remain_ticket >", value, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketGreaterThanOrEqualTo(Integer value) {
            addCriterion("remain_ticket >=", value, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketLessThan(Integer value) {
            addCriterion("remain_ticket <", value, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketLessThanOrEqualTo(Integer value) {
            addCriterion("remain_ticket <=", value, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketIn(List<Integer> values) {
            addCriterion("remain_ticket in", values, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketNotIn(List<Integer> values) {
            addCriterion("remain_ticket not in", values, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketBetween(Integer value1, Integer value2) {
            addCriterion("remain_ticket between", value1, value2, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andRemainTicketNotBetween(Integer value1, Integer value2) {
            addCriterion("remain_ticket not between", value1, value2, "remainTicket");
            return (Criteria) this;
        }

        public Criteria andIsMaxIsNull() {
            addCriterion("is_max is null");
            return (Criteria) this;
        }

        public Criteria andIsMaxIsNotNull() {
            addCriterion("is_max is not null");
            return (Criteria) this;
        }

        public Criteria andIsMaxEqualTo(String value) {
            addCriterion("is_max =", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxNotEqualTo(String value) {
            addCriterion("is_max <>", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxGreaterThan(String value) {
            addCriterion("is_max >", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxGreaterThanOrEqualTo(String value) {
            addCriterion("is_max >=", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxLessThan(String value) {
            addCriterion("is_max <", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxLessThanOrEqualTo(String value) {
            addCriterion("is_max <=", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxLike(String value) {
            addCriterion("is_max like", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxNotLike(String value) {
            addCriterion("is_max not like", value, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxIn(List<String> values) {
            addCriterion("is_max in", values, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxNotIn(List<String> values) {
            addCriterion("is_max not in", values, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxBetween(String value1, String value2) {
            addCriterion("is_max between", value1, value2, "isMax");
            return (Criteria) this;
        }

        public Criteria andIsMaxNotBetween(String value1, String value2) {
            addCriterion("is_max not between", value1, value2, "isMax");
            return (Criteria) this;
        }

        public Criteria andRefundTypeIsNull() {
            addCriterion("refund_type is null");
            return (Criteria) this;
        }

        public Criteria andRefundTypeIsNotNull() {
            addCriterion("refund_type is not null");
            return (Criteria) this;
        }

        public Criteria andRefundTypeEqualTo(String value) {
            addCriterion("refund_type =", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotEqualTo(String value) {
            addCriterion("refund_type <>", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeGreaterThan(String value) {
            addCriterion("refund_type >", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeGreaterThanOrEqualTo(String value) {
            addCriterion("refund_type >=", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeLessThan(String value) {
            addCriterion("refund_type <", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeLessThanOrEqualTo(String value) {
            addCriterion("refund_type <=", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeLike(String value) {
            addCriterion("refund_type like", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotLike(String value) {
            addCriterion("refund_type not like", value, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeIn(List<String> values) {
            addCriterion("refund_type in", values, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotIn(List<String> values) {
            addCriterion("refund_type not in", values, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeBetween(String value1, String value2) {
            addCriterion("refund_type between", value1, value2, "refundType");
            return (Criteria) this;
        }

        public Criteria andRefundTypeNotBetween(String value1, String value2) {
            addCriterion("refund_type not between", value1, value2, "refundType");
            return (Criteria) this;
        }

        public Criteria andTicketImg1IsNull() {
            addCriterion("ticket_img1 is null");
            return (Criteria) this;
        }

        public Criteria andTicketImg1IsNotNull() {
            addCriterion("ticket_img1 is not null");
            return (Criteria) this;
        }

        public Criteria andTicketImg1EqualTo(String value) {
            addCriterion("ticket_img1 =", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1NotEqualTo(String value) {
            addCriterion("ticket_img1 <>", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1GreaterThan(String value) {
            addCriterion("ticket_img1 >", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1GreaterThanOrEqualTo(String value) {
            addCriterion("ticket_img1 >=", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1LessThan(String value) {
            addCriterion("ticket_img1 <", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1LessThanOrEqualTo(String value) {
            addCriterion("ticket_img1 <=", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1Like(String value) {
            addCriterion("ticket_img1 like", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1NotLike(String value) {
            addCriterion("ticket_img1 not like", value, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1In(List<String> values) {
            addCriterion("ticket_img1 in", values, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1NotIn(List<String> values) {
            addCriterion("ticket_img1 not in", values, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1Between(String value1, String value2) {
            addCriterion("ticket_img1 between", value1, value2, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andTicketImg1NotBetween(String value1, String value2) {
            addCriterion("ticket_img1 not between", value1, value2, "ticketImg1");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andApplianceUserIsNull() {
            addCriterion("appliance_user is null");
            return (Criteria) this;
        }

        public Criteria andApplianceUserIsNotNull() {
            addCriterion("appliance_user is not null");
            return (Criteria) this;
        }

        public Criteria andApplianceUserEqualTo(String value) {
            addCriterion("appliance_user =", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserNotEqualTo(String value) {
            addCriterion("appliance_user <>", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserGreaterThan(String value) {
            addCriterion("appliance_user >", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserGreaterThanOrEqualTo(String value) {
            addCriterion("appliance_user >=", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserLessThan(String value) {
            addCriterion("appliance_user <", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserLessThanOrEqualTo(String value) {
            addCriterion("appliance_user <=", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserLike(String value) {
            addCriterion("appliance_user like", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserNotLike(String value) {
            addCriterion("appliance_user not like", value, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserIn(List<String> values) {
            addCriterion("appliance_user in", values, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserNotIn(List<String> values) {
            addCriterion("appliance_user not in", values, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserBetween(String value1, String value2) {
            addCriterion("appliance_user between", value1, value2, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplianceUserNotBetween(String value1, String value2) {
            addCriterion("appliance_user not between", value1, value2, "applianceUser");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelIsNull() {
            addCriterion("applicnce_level is null");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelIsNotNull() {
            addCriterion("applicnce_level is not null");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelEqualTo(String value) {
            addCriterion("applicnce_level =", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelNotEqualTo(String value) {
            addCriterion("applicnce_level <>", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelGreaterThan(String value) {
            addCriterion("applicnce_level >", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelGreaterThanOrEqualTo(String value) {
            addCriterion("applicnce_level >=", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelLessThan(String value) {
            addCriterion("applicnce_level <", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelLessThanOrEqualTo(String value) {
            addCriterion("applicnce_level <=", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelLike(String value) {
            addCriterion("applicnce_level like", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelNotLike(String value) {
            addCriterion("applicnce_level not like", value, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelIn(List<String> values) {
            addCriterion("applicnce_level in", values, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelNotIn(List<String> values) {
            addCriterion("applicnce_level not in", values, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelBetween(String value1, String value2) {
            addCriterion("applicnce_level between", value1, value2, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andApplicnceLevelNotBetween(String value1, String value2) {
            addCriterion("applicnce_level not between", value1, value2, "applicnceLevel");
            return (Criteria) this;
        }

        public Criteria andSendDateIsNull() {
            addCriterion("send_date is null");
            return (Criteria) this;
        }

        public Criteria andSendDateIsNotNull() {
            addCriterion("send_date is not null");
            return (Criteria) this;
        }

        public Criteria andSendDateEqualTo(Date value) {
            addCriterion("send_date =", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotEqualTo(Date value) {
            addCriterion("send_date <>", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateGreaterThan(Date value) {
            addCriterion("send_date >", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateGreaterThanOrEqualTo(Date value) {
            addCriterion("send_date >=", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateLessThan(Date value) {
            addCriterion("send_date <", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateLessThanOrEqualTo(Date value) {
            addCriterion("send_date <=", value, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateIn(List<Date> values) {
            addCriterion("send_date in", values, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotIn(List<Date> values) {
            addCriterion("send_date not in", values, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateBetween(Date value1, Date value2) {
            addCriterion("send_date between", value1, value2, "sendDate");
            return (Criteria) this;
        }

        public Criteria andSendDateNotBetween(Date value1, Date value2) {
            addCriterion("send_date not between", value1, value2, "sendDate");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityIsNull() {
            addCriterion("ticket_exclusivity is null");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityIsNotNull() {
            addCriterion("ticket_exclusivity is not null");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityEqualTo(String value) {
            addCriterion("ticket_exclusivity =", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityNotEqualTo(String value) {
            addCriterion("ticket_exclusivity <>", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityGreaterThan(String value) {
            addCriterion("ticket_exclusivity >", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_exclusivity >=", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityLessThan(String value) {
            addCriterion("ticket_exclusivity <", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityLessThanOrEqualTo(String value) {
            addCriterion("ticket_exclusivity <=", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityLike(String value) {
            addCriterion("ticket_exclusivity like", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityNotLike(String value) {
            addCriterion("ticket_exclusivity not like", value, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityIn(List<String> values) {
            addCriterion("ticket_exclusivity in", values, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityNotIn(List<String> values) {
            addCriterion("ticket_exclusivity not in", values, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityBetween(String value1, String value2) {
            addCriterion("ticket_exclusivity between", value1, value2, "ticketExclusivity");
            return (Criteria) this;
        }

        public Criteria andTicketExclusivityNotBetween(String value1, String value2) {
            addCriterion("ticket_exclusivity not between", value1, value2, "ticketExclusivity");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}